<include file="header" />
<div class="head clearfix">
	<a href="{BEESCRM::U('/meeting/meeting/ucenter',array('account_id' => $accountId))}" class="iconfont icon-zuo"></a>
	<span class="head-name">新会议</span>
</div>
<div class="wraper">
	<div class="tab clearfix">
		<a href="javascript:void(0);" class="tab-list visited">邀请我的</a>
		<a href="#" class="tab-list">可报名的</a>
	</div>

	<if condition="empty($meetingData)">
		<!--无记录-->
		<div class="norecord">
			<img src="/assets/meeting/images/nomeeting.png"/>
			<p class="text-gray">还没有邀请我的会议</p>
		</div>
	<else/>
		<volist name="meetingData" id="vo">
			<if condition="$regData[$vo['basic_id']]['is_leave'] eq 1">
				<!--<a href="/Meeting/MeetingPersonal/meetingDetail/basic_id/{BEESCRM:$vo.basic_id}/type/2/account_id/{BEESCRM:$accountId}/is_leave/1" class="lists tb-mode">-->
				<a href="/Meeting/MeetingPersonal/meetingDetail/basic_id/{BEESCRM:$vo.basic_id}/account_id/{BEESCRM:$accountId}/is_leave/1" class="lists tb-mode">
					<div class="room-img tb-cell">
						<if condition="$vo['publicity_pic'] neq ''">
							<img src="{BEESCRM:$vo.publicity_pic}"/>
							<else/>
							<img src="/assets/meeting/images/meetingdefault.png"/>
						</if>

						<if condition="$regData[$vo['basic_id']] eq 1">
							<span class="tips status bg-green">已确认</span>
						</if>
						<if condition="$regData[$vo['basic_id']]['is_leave'] eq 1">
							<span class="tips status bg-green">已请假</span>
						</if>
					</div>
					<div class="text-block tb-cell">
						<p class="title">{BEESCRM:$vo.title}</p>
						<p><if condition="strlen($vo['content']) egt 32">{BEESCRM:$vo.content|msubstr=0,12,'utf-8',true}<else/>{BEESCRM:$vo.content}</if></p>
						<p class="text-gray"><span class="iconfont icon-shijian"></span>{BEESCRM:$vo.start_time|date='Y-m-d  H:i',###}-{BEESCRM:$vo.end_time|date='H:i',###}</p>
						<p class="text-gray">
							<span class="iconfont icon-ditu"></span>
							{BEESCRM:$meetingRooms[$vo['meeting_room_id']]['address']}{BEESCRM:$meetingRooms[$vo['meeting_room_id']]['room_name']}
						</p>
					</div>
				</a>
			<else/>
				<!--<a href="/Meeting/MeetingPersonal/meetingDetail/basic_id/{BEESCRM:$vo.basic_id}/type/2/account_id/{BEESCRM:$accountId}/is_leave/0" class="lists tb-mode">-->
				<a href="/Meeting/MeetingPersonal/meetingDetail/basic_id/{BEESCRM:$vo.basic_id}/account_id/{BEESCRM:$accountId}/is_leave/0" class="lists tb-mode">
					<div class="room-img tb-cell">
					<if condition="$vo['publicity_pic'] neq ''">
						<img src="{BEESCRM:$vo.publicity_pic}"/>
					<else/>
						<img src="/assets/meeting/images/meetingdefault.png"/>
					</if>

					<if condition="$regData[$vo['basic_id']] eq 1">
						<span class="tips status bg-green">已确认</span>
					</if>
					<if condition="$regData[$vo['basic_id']]['is_leave'] eq 1">
						<span class="tips status bg-green">已请假</span>
					</if>
				</div>
				<div class="text-block tb-cell">
					<p class="title">{BEESCRM:$vo.title}</p>
					<p><if condition="strlen($vo['content']) egt 32">{BEESCRM:$vo.content|msubstr=0,12,'utf-8',true}<else/>{BEESCRM:$vo.content}</if></p>
					<p class="text-gray"><span class="iconfont icon-shijian"></span>{BEESCRM:$vo.start_time|date='Y-m-d  H:i',###}-{BEESCRM:$vo.end_time|date='H:i',###}</p>
					<p class="text-gray">
						<span class="iconfont icon-ditu"></span>
						{BEESCRM:$meetingRooms[$vo['meeting_room_id']]['address']}{BEESCRM:$meetingRooms[$vo['meeting_room_id']]['room_name']}
					</p>
				</div>
			</a>
			</if>
		</volist>
	</if>

	<div class="nav">
		<a href="/Meeting/MeetingParticipants/inviteMeetingList/account_id/{BEESCRM:$accountId}" class="nav-list actived">
			<span class="iconfont icon-huiyishi"></span>
			<span>会议</span>
		</a>
		<a href="/Meeting/Meeting/uCenter/account_id/{BEESCRM:$accountId}" class="nav-list">
			<span class="iconfont icon-gerenzhongxin"></span>
			<span>我的</span>
		</a>
	</div>

</div>
<script type="text/javascript" src="/assets/public/seajs/sea.js"></script>
<script enter="publicjs/public" id="confnode" async="async" src="/assets/public/config.js"></script>